import DiscountsMode from '../../lib/models/discountsMode'
export interface discountsIdState {
    discounts:DiscountsMode
}
export default {
    namespace: "discounts",
    state: {},
    reducers: {
        setDiscountsId(state: discountsIdState, { payload }) {
            console.log('修改优惠券ID成功',payload)
            return { ...state, ...{ discounts: payload } }
        }
        
    },
    effects: {
        
    }
}